package po;

import java.io.*;

public class UserPO implements Serializable{
	private String username;
	private String password;
	private String name;
	private UserRole role;
	private CustomerPO customerPO;
	
	public UserPO(String username, String password, String name, UserRole role,CustomerPO customerPO) {
		this.username = username;
		this.password = password;
		this.name = name;
		this.role = role;
		this.customerPO=customerPO;
	}
	
	
	
	public CustomerPO getCustomerPO() {
		return customerPO;
	}

	public void setCustomerPO(CustomerPO customerPO){
		this.customerPO = customerPO;
	}
	
	public void setUsername(String username) {
		this.username = username;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setRole(UserRole role) {
		this.role = role;
	}


	public String getUsername() {
		return username;
	}
	
	public String getPassword() {
		return password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getName() {
		return name;
	}
	
	public UserRole getRole() {
		return role;
	}
}
